import java.io.*;

public final class Cls_20 extends OutputStream
{

    public Cls_17 fld_571;
    public DataOutputStream fld_572;
    private String fld_573;
    private int fld_574;

    public Cls_20()
    {
    }

    public final void close()
    {
        this;
        fld_574;
        Cls_16.mth_391();
        String s;
        s;
        fld_573 = Cls_16.mth_296(fld_574, fld_573);
        Cls_16.fld_324.mth_435(s, fld_573, fld_571.mth_832(), 0, fld_571.size());
        fld_572.close();
        fld_571.close();
        fld_572 = null;
        fld_571 = null;
        fld_573 = null;
        fld_574 = 0;
        return;
        Exception exception;
        exception;
        fld_572.close();
        fld_571.close();
        fld_572 = null;
        fld_571 = null;
        fld_573 = null;
        fld_574 = 0;
        throw exception;
    }

    public static Cls_20 mth_835(int i, String s)
    {
        Cls_20 cls_20;
        (cls_20 = new Cls_20()).fld_571 = new Cls_17();
        cls_20.fld_572 = new DataOutputStream(cls_20.fld_571);
        cls_20.fld_573 = s;
        cls_20.fld_574 = i;
        return cls_20;
    }

    public final void write(byte abyte0[])
    {
        fld_572.write(abyte0);
    }

    public final void write(byte abyte0[], int i, int j)
    {
        fld_572.write(abyte0, i, j);
    }

    public final void write(int i)
    {
        fld_572.write(i);
    }

    public final void mth_836(int i)
    {
        fld_572.writeByte(i);
    }

    public final void mth_837(int i)
    {
        fld_572.writeShort(i);
    }

    public final void mth_838(int i)
    {
        fld_572.writeInt(i);
    }

    public final void mth_839(long l)
    {
        fld_572.writeLong(l);
    }

    public final void flush()
    {
        fld_572.flush();
    }
}